package com.py.credit.service;

import java.util.List;

import com.py.credit.entity.CreditStandardCommitment;
import com.py.framework.core.common.Page;

public interface CreditStandardCommitmentService {

	void insert(CreditStandardCommitment creditStandardCommitment);

	List<CreditStandardCommitment> selectForPage(CreditStandardCommitment creditStandardCommitment, Page page);

	List<CreditStandardCommitment> selectByStateForPage(CreditStandardCommitment creditStandardCommitment, Page page);

	void delListById(List<String> list);

	void updateById(CreditStandardCommitment creditStandardCommitment);

	CreditStandardCommitment selectById(Integer id);

	CreditStandardCommitment selectByType();

	List<CreditStandardCommitment> selectCriterionForPage(CreditStandardCommitment creditStandardCommitment, Page page);

	List<CreditStandardCommitment> selectCriterionByStateForPage(CreditStandardCommitment creditStandardCommitment,
			Page page);

	void updateStateById(Integer id, String state);

	List<CreditStandardCommitment> selectContentsForPage(CreditStandardCommitment creditStandardCommitment, Page page);

	List<CreditStandardCommitment> selectContentsByStateForPage(CreditStandardCommitment creditStandardCommitment,
			Page page);

	CreditStandardCommitment selectByMlType();

	CreditStandardCommitment selectOneById(String id);

	void updateOneById(String id);
}
